package lab02.test26;

import java.util.Scanner;

public class Test26 {
    public static void main(String[] args) {
        System.out.println("Please input two numbers:");
        Scanner  scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int  b = scanner.nextInt();
        double c;
       try{
           c= a/b;
       }catch (ArithmeticException e){
           System.out.println("程序异常，0不能做除数！");
       }finally {
         System.out.println("程序结束");
       }
    }
    }
